import { useContext } from "react";
import {ThemeContext} from './index'

function CrntButton(props:any) {
  const themeContext = useContext(ThemeContext)
  return (
    <div style={themeContext}>{props.children}</div>
  )
}

export default CrntButton;